home *** CD-ROM | disk | FTP | other *** search
/ Enter 2006 September / Enter 09 2006.iso / Internet / SpamExperts Home 1.1 / SpamExperts Home.exe / lib / spamexperts.modules / email / MIMENonMultipart.pyc (.txt) < prev    next >
Encoding:
Python Compiled Bytecode  |  2006-07-14  |  795 b   |  17 lines

  1. # Source Generated with Decompyle++
  2. # File: in.pyc (Python 2.4)
  3.  
  4. '''Base class for MIME type messages that are not multipart.'''
  5. from email import Errors
  6. from email import MIMEBase
  7.  
  8. class MIMENonMultipart(MIMEBase.MIMEBase):
  9.     '''Base class for MIME multipart/* type messages.'''
  10.     __pychecker__ = 'unusednames=payload'
  11.     
  12.     def attach(self, payload):
  13.         raise Errors.MultipartConversionError('Cannot attach additional subparts to non-multipart/*')
  14.  
  15.     del __pychecker__
  16.  
  17.